package com.xiyu.service.errorCode.bed;

import com.xiyu.service.framework.exception.ErrorCode;

/**
* buildingInfo 错误码枚举类
*
* buildingInfo 楼栋信息，使用 1005000000段
*/
public interface BuildingInfoErrorCode {
    Integer ERROR_CODE_START_CODE = 1005000000;

    ErrorCode BUILDING_EXIST = new ErrorCode(ERROR_CODE_START_CODE, "已存在相同名称的楼栋");
    ErrorCode BUILDING_NOT_EXIST = new ErrorCode(ERROR_CODE_START_CODE + 1, "楼栋不存在");
    ErrorCode BUILDING_NOT_EMPTY_FLOOR = new ErrorCode(ERROR_CODE_START_CODE + 2, "必须全部删除房间才能删除楼栋");
}